package xyz.xtt.exchange.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.exchange.dto.AssetAuditDto;
import xyz.xtt.exchange.entity.TblAssetAudit;
import xyz.xtt.exchange.vo.AssetAuditVo;

/**
 * <p>
 * 资产铸造审核表 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-08
 */
public interface ITblAssetAuditService extends IService<TblAssetAudit> {

	/**
	 * 获取审核列表
	 * 
	 * @param uid
	 * @return
	 */
	List<AssetAuditVo> getAuditList(Long uid, Integer currentPage, Integer pageSize);

	/**
	 * 取消审核
	 * 
	 * @param uid
	 * @param id
	 * @param status
	 * @return
	 */
	Boolean setAssetAuditStatus(Long uid, Long id, Integer status);

	AssetAuditDto getAuditRecord(Long uid, Long auditId);

	/**
	 * 原方法 
	 * 
	 * AssetBaseInfo baseInfo(String assetAuditId)
	 * 
	 * @param assetAuditId
	 * @return
	 */
	TblAssetAudit assetAuditInfo(Long assetAuditId);

	/**
	 * 重新铸造
	 * 
	 * @param id
	 * @param vodeoPath
	 * @param imgPath
	 * @param assetName
	 * @param description
	 * @return
	 */
	boolean failReMint(Long id, String videoPath, String imgPath, String assetName, String description);

	/**
	 * 审核记录
	 * 
	 * @param uid
	 * @param id
	 * @return
	 */
	TblAssetAudit failInfo(Long uid, Long id);

	Boolean assetAuditPayMint(Long assetAuditId, Long assetId);
}
